package srzy.module

import srzy.common.Logging
import srzy.common.ShellExecute
import srzy.dao.DBUtil
import srzy.common.Config

object RBInMemoryInit extends AbsCaseDeal with Logging {

  val db = DBUtil("RBInMemorySource")

  val sqls = Config.getItems("RBInMemoryInit") match {
    case Some(v) => v.values.toList
    case None => List.empty[String]
  }

  def deal = {
    db.executeUpdate(sqls)
  }
}
